import request from '@/utils/request'
import {appConfig} from '../../config/app'

let service = appConfig.microServModules.goods + 'api/collectGoods'

export function canceledCollect (data) {
  return request(`${service}/canceledCollect`, {method: 'get', data: data})
}

export function collectBool (data) {
  return request(`${service}/collectBool`, {method: 'get', data: data})
}

export function collect (data) {
  return request(`${service}/collect`, {method: 'post', data: data})
}
